﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Medical.DataInterface;
using Medical.Data;
using Medical.Entity;

namespace Medical.Business
{
    /// <summary>
    /// 文章属性业务操作类
    /// </summary>
    public class BisArticleMeta
    {
         /// <summary>
        /// 接口
        /// </summary>
        IArticleMetaAccessor accessor;

        /// <summary>
        /// 构造函数
        /// </summary>
        public BisArticleMeta()
        {
            //创建接口
            accessor = DataAccess.GetArticleMetaAccessor();
        }

         /// <summary>
        /// 获取文章属性列表
        /// </summary>
        /// <param name="eType"></param>
        /// <returns></returns>
        public DataTable GetList(ArticelTypeEnum eType)
        {
            return accessor.GetList((int)eType);
        }
    }
}
